package han;

import java.util.Scanner;

public class J05Ex24Gugudan {

	public static void main(String[] args) {
		
		Scanner sc=null;
		 sc = new Scanner(System.in);
		 System.out.println("1~9 숫자를 입력하세요");
		
			
		
		
		 int j= sc.nextInt();
		 if(j<=9&&j!=0){
		 for( int i=1 ; i<=9;++i){			
				
				System.out.print(j+"x" +i+"="+ j*i+"\t");
			//System.out.println("잘못 입력하셨습니다");
		}
		}else{
			System.out.print("잘못입력하셧습니다 1~9의 숫자만 입력해주세요");
		}
		System.out.print("\n");
		sc.close();
		}
		
		
		
	
}
